
package br.com.easyrhour3x.main;

import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import br.com.easyrhour3x.login.UILogin;

public abstract class ConfigUIPadrao extends JFrame
{

   /** @TODO Comentar atributo */
   private static final long serialVersionUID = 1L;

   public ConfigUIPadrao()
   {
      setIconImage(getFDImage());
   }

   private Image getFDImage()
   {
      URL imgURL = UILogin.class.getResource("/br/com/easyrhour3x/imagens/icon.png");
      if (imgURL != null)
      {
         return new ImageIcon(imgURL).getImage();
      }
      else
      {
         return null;
      }
   }

   public abstract void sair();

}
